Order List
Select: All, None
<table class="orderTable">
  <thead class="orderTableHead">
    <tr>
    	<th></th>
      <!-- <th>Id</th>
     <th>Created at</th>-->
      <th>Date</th>
      <th>Time</th>      
      <th>Name</th>
      <th>Contact number</th>
      <th>Pickup address</th>
      <th>Destination address</th>
      <th>Number of passengers</th>
      <th>Number of luggage</th>
      <th>Vehicle type</th>
      <th>Comment</th>
      <!--<th>Cost</th>-->
      <th>Driver</th>
    </tr>
  </thead>
  <tbody>
    <?php 
    	//foreach ($taxi_orderList as $taxi_order):
    	foreach ($pager->getResults() as $taxi_order):    	 
    ?>
    <tr onmouseover="" onmouseout="cancelBuble=false;">
     	<td><input type="checkbox" id="<?php echo $taxi_order->getId() ?>"></td>
      <!--<td><a href="<?php echo url_for('order/edit?id='.$taxi_order->getId()) ?>"><?php echo $taxi_order->getId() ?></a></td>
      <td><?php echo $taxi_order->getCreatedAt() ?></td>-->
      <td><?php echo $taxi_order->getDate() ?></td>
      <td><?php echo $taxi_order->getTime() ?></td>
      <td><?php echo $taxi_order->getName() ?></td>
      <td><?php echo $taxi_order->getContactNumber() ?></td>
      <td><?php echo $taxi_order->getPickupAddress() ?></td>
      <td><?php echo $taxi_order->getDestinationAddress() ?></td>
      <td><?php echo $taxi_order->getNumberOfPassengers() ?></td>
      <td><?php echo $taxi_order->getNumberOfLuggage() ?></td>
      <td><?php echo $taxi_order->getVehicleType() ?></td>
      <td><?php echo $taxi_order->getComment() ?></td>
      <!--<td><?php echo $taxi_order->getCost() ?></td>-->
      <td><?php echo $taxi_order->getDriverId() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>
<br/>

<?php if ($pager->haveToPaginate()): ?>
    <?php echo link_to('&laquo;', 'order/index?page='.$pager->getFirstPage()) ?>
    <?php echo link_to('&lt;', 'order/index?page='.$pager->getPreviousPage()) ?>
    <?php $links = $pager->getLinks(); foreach ($links as $page): ?>
      <?php echo ($page == $pager->getPage()) ? $page : link_to($page, 'order/index?page='.$page) ?>
      <?php if ($page != $pager->getCurrentMaxLink()): ?> - <?php endif ?>
    <?php endforeach ?>
    <?php echo link_to('&gt;', 'order/index?page='.$pager->getNextPage()) ?>
    <?php echo link_to('&raquo;', 'order/index?page='.$pager->getLastPage()) ?>
<?php endif ?>
<br/>
<?php
echo $pager->getNbResults()." orders found. Displaying results ".$pager->getFirstIndice()." to ".$pager->getLastIndice();
?>

<br/><br/><a href="<?php echo url_for('order/create') ?>">Create new order</a>


